#include <iostream>
#include <time.h>
#include "Matrix.h"
using namespace std;

void test1()
{
	int n = 20;
	srand((unsigned int)time(NULL));
	vector < vector<double>> vv(n);
	for (int i = 0; i < n; i++)vv[i].resize(n);

	for (int i = 0; i < n; i++)
	{
		for (int j = 0; j < n; j++)
		{
			int a = rand() % 10;
			
			vv[i][j] = a;
		}
	}
	MyMatrix::Matrix mt(vv);
	mt.Print();
	//mt.GetDet_Spread();
	cout << mt.GetDet_Up().first;//<< "  " <<  mt.GetDet_Spread().first <<endl;
}



int main()
{
	test1();
	return 0;
}